﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;
using DAO;

namespace FDeal
{
    public partial class ThongTinChiTiet : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //if (Request.QueryString["id"] == null)
                //{
                //    Response.Redirect("~/Default.aspx");
                //}
                LoadDSChiTiet();
            }
        }


        public void GanTieuDe(string tieuDe)
        {
            TieuDe.Text = tieuDe;
        }

        public void GanAnh(string link)
        {
            linkAnh.ImageUrl = link;
        }
        public void GanTomTat(string tomtat)
        {
            TomTat.Text = tomtat;
        }
        public void GanGia(string gia)
        {
            Gia.Text = gia;
        }
        public void GanConLai(string conlai)
        {
            ConLai.Text = conlai;
        }
        public void GanTietKiem(string tietkiem)
        {
            TietKiem.Text = tietkiem;
        }
        private void LoadDSChiTiet()
        {
            
        }        
    }
}